<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>Hello Electron React!</title>
  <link rel="stylesheet" type="text/css" href="./css/reset.css">
  <link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
  <link href="./css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
  <script src="./scripts/jquery.min.js"></script>
  <div id="content"></div>
  <script>
    {
      if (typeof module === 'object') { window.jQuery = window.$ = module.exports };
      const script = document.createElement('script');    
      script.src = './dist/index.js';
      // HACK: Writing the script path should be done with webpack
      document.body.appendChild(script);
    }
  </script>
</body>

</html>